%# -*- coding:utf-8 -*-
\documentclass[fancyhdr,fntef,10pt]{ctexbook}
\input{configs}
\begin{document}
\graphicspath{{figures/}}
\pagenumbering{Roman}

\input{contents/titlepage}

\pagenumbering{roman}

{\bookmark[level=0,page=7]{目录}
\tableofcontents}

{\bookmark[level=0,page=11]{插图目录}
\listoffigures}

\input{contents/forward}
\input{contents/economic-models}
\input{contents/market-supply-and-demand}
\input{contents/budget-constraint}
\input{contents/preferences-and-indifferent-curves}
\input{contents/preferences-and-utility}
\input{contents/utility-maximization-and-choice}
\input{contents/income-and-subtitution-effects}
\input{contents/engel-curve-and-demand-curve}
\input{contents/production-functions}
\input{contents/costs-functions}
\input{contents/profit-maximization}
\input{contents/producer-choice}
\input{contents/firms-supply}
\input{contents/competitive-markets}
\input{contents/imperfect-markets}
\input{contents/input-markets}
\input{contents/labor-markets}
\input{contents/capital-and-time}

%% Back Matter
%\backmatter
\input{contents/thebibliography}

%参考ctex-faq，避免书签中的“索引”链接指向错误（实际指向上一章节——参考文献）
%目前仍有问题：在页面连续浏览模式下，链接指向“索引”标题下部，索引列表之前的位置。
{\cleardoublepage\phantomsection\addcontentsline{toc}{chapter}{\hspace{-4em}索引}
\printindex}

\input{contents/backcover}
\end{document}
